package cn.lili.modules.grab.dingdong.reps.goods;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GetGoodsStockV1Respose {

    @ApiModelProperty("商品ID")
    private String goods_id;

    @ApiModelProperty("该商品总数量")
    private String total;

    @ApiModelProperty("订单状态文字描述")
    private String status_cn;

    @ApiModelProperty("售后详情")
    private List<Detail> detail;

    @Data
    public static class Detail {
        @ApiModelProperty("库存数量")
        private String stock;

        @ApiModelProperty("商品规格id")
        private String spec_id;
    }
}
